@charset "utf-8";
/* -------------------------------------------------
 * btn scss
 * -------------------------------------------------
 */

// 变量
//----------------------------------

.btn-loading {
	position: relative;
	cursor: default;
	color: transparent!important;
	&:before {
	    position: absolute;
	    content: '';
	    top: 50%;
	    left: 50%;
	    margin: -0.2rem 0 0 -0.2rem;
	    width: 0.4rem;
	    height: 0.4rem;
	    border-radius: 50%;
	    border: 3px solid rgba(0, 0, 0, 0.15);
	}
	&:after {
	    position: absolute;
	    content: '';
	    top: 50%;
	    left: 50%;
	    margin: -0.2rem 0 0 -0.2rem;
	    width: 0.4rem;
	    height: 0.4rem;
	    animation: button-spin .6s linear;
	    animation-iteration-count: infinite;
	    border-radius: 50%;
	    border-color: #aaa transparent transparent;
	    border-style: solid;
	    border-width: 3px;
	    box-shadow: 0 0 0 1px transparent;
	}
}
